<?php

class qtype_preg_cross_tests_from_att_forcedassoc
{

defined('NOMATCH') || define('NOMATCH', qtype_preg_matching_results::NO_MATCH_FOUND);

	
	//2 brackets 2 or metacharacters
	function data_for_test_forcedassoc_2_brackets_2_or () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>1),
						'length'=>array(0=>4,1=>1,2=>3),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a|ab)(c|bcd)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters
	function data_for_test_forcedassoc_2_brackets_2_or_1 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>1),
						'length'=>array(0=>4,1=>1,2=>3),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a|ab)(bcd|c)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters
	function data_for_test_forcedassoc_2_brackets_2_or_2 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>1),
						'length'=>array(0=>4,1=>1,2=>3),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(ab|a)(c|bcd)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters
	function data_for_test_forcedassoc_2_brackets_2_or_3 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>1),
						'length'=>array(0=>4,1=>1,2=>3),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(ab|a)(bcd|c)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters in brackets concatenated characeter with star
	function data_for_test_forcedassoc_2_brackets_2_or_3_brackets_star () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0,3=>1,4=>4),
						'length'=>array(0=>4,1=>4,2=>1,3=>3,4=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'((a|ab)(c|bcd))(d*)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters in brackets concatenated characeter with star
	function data_for_test_forcedassoc_2_brackets_2_or_3_brackets_star_1 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0,3=>1,4=>4),
						'length'=>array(0=>4,1=>4,2=>1,3=>3,4=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'((a|ab)(bcd|c))(d*)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters in brackets concatenated characeter with star
	function data_for_test_forcedassoc_2_brackets_2_or_3_brackets_star_2 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0,3=>1,4=>4),
						'length'=>array(0=>4,1=>4,2=>1,3=>3,4=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'((ab|a)(c|bcd))(d*)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters in brackets concatenated characeter with star
	function data_for_test_forcedassoc_2_brackets_2_or_3_brackets_star_3 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0,3=>1,4=>4),
						'length'=>array(0=>4,1=>4,2=>1,3=>3,4=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'((ab|a)(bcd|c))(d*)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters in brackets concatenated characeter with star
	function data_for_test_forcedassoc_2_brackets_2_or_3_brackets_star_4 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>2,3=>2,4=>3),
						'length'=>array(0=>4,1=>2,2=>2,3=>1,4=>1),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a|ab)((c|bcd)(d*))',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters in brackets concatenated characeter with star
	function data_for_test_forcedassoc_2_brackets_2_or_3_brackets_star_5 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>2,3=>2,4=>3),
						'length'=>array(0=>4,1=>2,2=>2,3=>1,4=>1),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a|ab)((bcd|c)(d*))',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters in brackets concatenated characeter with star
	function data_for_test_forcedassoc_2_brackets_2_or_3_brackets_star_6 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>2,3=>2,4=>3),
						'length'=>array(0=>4,1=>2,2=>2,3=>1,4=>1),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(ab|a)((c|bcd)(d*))',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters in brackets concatenated characeter with star
	function data_for_test_forcedassoc_2_brackets_2_or_3_brackets_star_7 () {
		$test1 = array( 'str'=>'abcd',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>2,3=>2,4=>3),
						'length'=>array(0=>4,1=>2,2=>2,3=>1,4=>1),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(ab|a)((bcd|c)(d*))',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters and star at first brackets
	function data_for_test_forcedassoc_2_brackets_2_or_star () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0),
						'length'=>array(0=>3,1=>0,2=>3),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a*)(b|abc)',
					 'tests'=>array($test1));
	}
	//2 brackets 2 or metacharacters and star at first brackets
	function data_for_test_forcedassoc_2_brackets_2_or_star_1 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0),
						'length'=>array(0=>3,1=>0,2=>3),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a*)(abc|b)',
					 'tests'=>array($test1));
	}
	//stared char concatenated or metacharacter concatenated stared char
	function data_for_test_forcedassoc_stared_char_or_stared_char () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0,3=>0,4=>3),
						'length'=>array(0=>3,1=>3,2=>0,3=>3,4=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'((a*)(b|abc))(c*)',
					 'tests'=>array($test1));
	}
	//stared char concatenated or metacharacter concatenated stared char
	function data_for_test_forcedassoc_stared_char_or_stared_char_1 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0,3=>0,4=>3),
						'length'=>array(0=>3,1=>3,2=>0,3=>3,4=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'((a*)(abc|b))(c*)',
					 'tests'=>array($test1));
	}
	//stared char concatenated or metacharacter concatenated stared char
	function data_for_test_forcedassoc_stared_char_or_stared_char_2 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>1,3=>1,4=>2),
						'length'=>array(0=>3,1=>1,2=>2,3=>1,4=>1),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a*)((b|abc)(c*))',
					 'tests'=>array($test1));
	}
	//stared char concatenated or metacharacter concatenated stared char
	function data_for_test_forcedassoc_stared_char_or_stared_char_3 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>1,3=>1,4=>2),
						'length'=>array(0=>3,1=>1,2=>2,3=>1,4=>1),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a*)((abc|b)(c*))',
					 'tests'=>array($test1));
	}
	//stared char concatenated brackets with or metacharacter
	function data_for_test_forcedassoc_stared_char_concatenated_brackets_or () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0),
						'length'=>array(0=>3,1=>0,2=>3),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a*)(b|abc)',
					 'tests'=>array($test1));
	}
	//stared char concatenated brackets with or metacharacter
	function data_for_test_forcedassoc_stared_char_concatenated_brackets_or_1 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0),
						'length'=>array(0=>3,1=>0,2=>3),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a*)(abc|b)',
					 'tests'=>array($test1));
	}
	//stared char concatenated or metacharacter concatenated stared char
	function data_for_test_forcedassoc_stared_char_or_stared_char_4 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0,3=>0,4=>3),
						'length'=>array(0=>3,1=>3,2=>0,3=>3,4=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'((a*)(b|abc))(c*)',
					 'tests'=>array($test1));
	}
	//stared char concatenated or metacharacter concatenated stared char
	function data_for_test_forcedassoc_stared_char_or_stared_char_5 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>0,3=>0,4=>3),
						'length'=>array(0=>3,1=>3,2=>0,3=>3,4=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'((a*)(abc|b))(c*)',
					 'tests'=>array($test1));
	}
	//stared char concatenated or metacharacter concatenated stared char
	function data_for_test_forcedassoc_stared_char_or_stared_char_6 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>1,3=>1,4=>2),
						'length'=>array(0=>3,1=>1,2=>2,3=>1,4=>1),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a*)((b|abc)(c*))',
					 'tests'=>array($test1));
	}
	//stared char concatenated or metacharacter concatenated stared char
	function data_for_test_forcedassoc_stared_char_or_stared_char_7 () {
		$test1 = array( 'str'=>'abc',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>1,3=>1,4=>2),
						'length'=>array(0=>3,1=>1,2=>2,3=>1,4=>1),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a*)((abc|b)(c*))',
					 'tests'=>array($test1));
	}
	//or metacharacter
	function data_for_test_forcedassoc_or () {
		$test1 = array( 'str'=>'ab',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0),
						'length'=>array(0=>2,1=>2),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a|ab)',
					 'tests'=>array($test1));
	}
	//or metacharacter
	function data_for_test_forcedassoc_or_1 () {
		$test1 = array( 'str'=>'ab',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0),
						'length'=>array(0=>2,1=>2),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(ab|a)',
					 'tests'=>array($test1));
	}
	//or metacharacter concatenated stared char
	function data_for_test_forcedassoc_or_star_char () {
		$test1 = array( 'str'=>'ab',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>2),
						'length'=>array(0=>2,1=>2,2=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(a|ab)(b*)',
					 'tests'=>array($test1));
	}
	//or metacharacter concatenated stared char
	function data_for_test_forcedassoc_or_star_char_1 () {
		$test1 = array( 'str'=>'ab',
						'is_match'=>true,
						'full'=>true,
						'index_first'=>array(0=>0,1=>0,2=>2),
						'length'=>array(0=>2,1=>2,2=>0),
						'left'=>array(0),
						'next'=>qtype_preg_matching_results::UNKNOWN_NEXT_CHARACTER,
						'tags'=>array(qtype_preg_cross_tester::TAG_FROM_AT_AND_T));
		return array('regex'=>'(ab|a)(b*)',
					 'tests'=>array($test1));
	}
}
?>
